import Vue from 'vue'
import App from './App.vue'
import router from '@/router/index'
// 全局组件

// 设置全局的css样式
import './index.css'


//设置全局的iview组件库 
import iView from 'iview';
import 'iview/dist/styles/iview.css';
Vue.use(iView);

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

Vue.config.productionTip = false

// 富文本编译器
import  VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

// ********   axios  ********************* */
// import axios from 'axios'
// axios.defaults.baseURL = 'https://api.map.baidu.com'
// Vue.prototype.$axios = axios
// https://api.map.baidu.com/geocoding/v3/?address=北京市海淀区上地十街10号&output=json&ak=您的ak&callback=showLocation //GET请求

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
